Moves the item up one spot in the collection (to a smaller index)
'Declaration
Public Overridable Function MoveUp( _
ByVal As _
) As Integer
public virtual int MoveUp(
)
public:
virtual int MoveUp(
)
Parameters
- item
- The item to move
Return Value
The item's new position, or -1 if the item was not found in the collection.